You are here: Visualizing Images > Window Leveling

Window Leveling

Window leveling offers the opportunity of changing density relationships — brightness and contrast — within images to obtain the most useful information. Window leveling in Dragonfly behaves in a manner closest to medical imaging by interactively adjusting the window (contrast), which is the range of minimum and maximum values, and the level (brightness), which is the position of the selected range in the intensity space. Additional controls let you adjust the gamma, which determines how tones are displayed by defining the relationship between input values and the resulting image luminance.

The Window Leveling panel, shown below, offers precise control for selecting the threshold values and window position, as well as the applied gamma correction.

Window Leveling panel

Window Leveling panel

For most types of image data — RAW, TIFF, BMP, and so on — the minimum and maximum values within the dataset are applied automatically. For DICOM image data, the window width and center values are extracted from the DICOM metadata and applied as the default values.

You should also note that window leveling is applied simultaneously to all 2D views of the selected dataset in the current scene and can be adjusted separately for the 3D view.

Window leveling controls

 

Icon

Description

Histogram

- -

The histogram at the top of the panel shows how values are distributed within a dataset. The darkest parts of the image will appear on the left side of the graph, the mid-tones will appear in the middle, and the brightest parts (highlights) on the right side.

If required, you can select the Log Y option to plot the Y-axis in log scale.

Threshold values

- -

The two numbers under the histogram are the minimum and maximum threshold values. These two values define the display range, or window.

Window Level

Lets you adjust window leveling of the selected dataset.

Area

Allows you to apply leveling computed within a selected area on a 2D image to the whole image in the 2D views of the selected scene.

Reset

Resets the original window leveling values.

Local gamma

- -

The gamma curve, which is shown on the Window Leveling histogram, determines how tones are displayed in a view by defining the relationship between input values and the resulting image luminance.

As shown in the following illustration, adjusting gamma will affect the perceived brightness of an image by making dark regions lighter. You should note that the local gamma typically rises from 1.0 to about 2.0.

You should also note that while gamma affects the brightness of a display, it is not identical to brightness. This is because gamma adjustments are not linear, like brightness levels are. Instead, the gamma setting applies a function to the input levels to produce the final output level. This means that the extreme dark and light points are not as affected as the mid-tones, which are enhanced more because of the non-linear function.

Gamma can be adjusted for each view in a scene with the slider or by changing the current value.

You can also adjust window leveling with the interactive text annotation in the 2D and 3D views (see 2D Views and 3D Views).

 

Dragonfly Help Live Version